#ifndef GROUPUSER_H
#define GROUPUSER_H

#include "User.hpp"
#include <iostream>
#include <string>

//相比于User，这个GroupUser就是在User的基础上添加了一个 role的字段，所以直接用继承即可
class GroupUser : public User
{
public:

    GroupUser(std::string fprole = "normal")
    :role(fprole)
    {}

    void setRole(std::string fprole){role = fprole;};
    std::string getRole(){return role;};

     std::string role;
};


#endif